//
//  ChatContentInfo.h
//  tcpoctest
//
//  Created by gump on 11/8/12.
//  Copyright (c) 2012 gump. All rights reserved.
//

enum ChatReadState
{
    CRS_NULL,
    CRS_ARRIVE,//已送达
    CRS_READ,//已读
    CRS_SENDING,//发送中
    CRS_SENDSUCCESS,//已发送
    CRS_SENDFAIL,//发送失败
    CRS_UNREAD,//未读
    CRS_SHIELD,//被屏蔽
};

@interface ChatContentInfo : NSObject

@property(nonatomic,strong) NSString    *strtext;//聊天内容
@property                   int         chatType;//聊天类型
@property                   bool        isSelf;//是否是自己的消息
@property(nonatomic,strong) NSString    *mail;//消息的用户id
@property                   bool        isgroup;//是否群聊
@property                   float       audioPlayLength;//音频长度
@property(nonatomic,strong) NSString    *strChatDate;//当前聊天消息的时间
@property                   int         iSequence;//当前聊天消息的序列号
@property(nonatomic,strong) NSString    *strid;//消息的id
@property                   int         ichatReadState;

@property(nonatomic,strong) NSString    *giftid;//礼物id
@property                   int         igiftNum;//这个用户的礼物数量

@property(nonatomic,strong) NSString    *strsendmail;//发送者帐户

-(NSString *)GetTimeString;
-(NSString *)getLastContentInfoTime;

@end
